﻿@model  WebSoftSeo.Models.Blog

@{
    ViewBag.Title = Model.Title;
    Layout = "~/Views/Shared/_LayoutSubscribe.cshtml";

}
<style>
    .giveMeEllipsis
    {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3; /* number of lines to show */
        line-height: 2; /* fallback */
        max-height: 100px; /* fallback */
    }
</style>
<!-- Content Blog -->
        <div class="wrapBlogContent">
        	<div class="container">
            	<!-- blogContentL -->
            	<div class="blogContentL">
                    @if(Model != null)
                    {                     
                           DateTime dt = (DateTime)Model.DateCreate;
                            string date = dt.ToString("HH:mm    dd/MM/yyyy");
                	<div class="col1">
                    	<h4><a href="#">@Model.Title </a></h4>
                        <p class="namedate">By <b>@Model.User.FullName</b>@date </p>
                        <div class="testBlog">
                        	@*<img class="img-responsive" src="~/Images/Blog/@Model.ImagePath">*@
                            <p>
                            	@Html.Raw(Model.ShortDescription)
                            </p>
                             <p>
                            	@Html.Raw(Model.Contents)
                            </p>
                        </div>
                        <div class="social">
                        	
                            <div class="divSocial"><img src="~/data/h2.jpg"></div>
                            <div class="clearfix"></div>
                        </div>
                    </div>
                    }                 
                <div class="clearfix"></div>
            </div>
                <div class="blogContentR">
                	@{Html.RenderAction("_BlogCategory", "Blog");}
                   @{Html.RenderAction("_PopularBlogArticle", "Blog");}
                    <div class="clearfix"></div>
                    <h2 class="h1Sibar">Popular Articles</h2>
                   @{Html.RenderAction("_MonthFilter", "Blog");}
                </div>
                </div>
                <!-- End blogContentL -->
                <!-- blogContentR -->
            	
                <!-- End blogContentR -->
                <div class="clearfix"></div>
            </div>
        </div>

